x86: Do not print anything when we fail to emulate an
authorKeir Fraser <keir@xensource.com>
Fri, 6 Apr 2007 10:27:36 +0000 (11:27 +0100)
committerKeir Fraser <keir@xensource.com>
Fri, 6 Apr 2007 10:27:36 +0000 (11:27 +0100)
instruction. This is causing the logs to get spammed with
uninteresting cases.
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/x86_emulate.c

index aafaed1ee22e92a4f32d177a300b9fff66d9997a..70262d6131d1edf9f29b7f8a75c2485154335b2a 100644 (file)
@@ -2413,7 +2413,7 @@ x86_emulate(
     goto writeback;
 
  cannot_emulate:
-#ifdef __XEN__
+#if 0
     gdprintk(XENLOG_DEBUG, "Instr:");
     for ( ea.mem.off = ctxt->regs->eip; ea.mem.off < _regs.eip; ea.mem.off++ )
     {